<!DOCTYPE HTML>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
    <div class="container-div">
    <div class="col-sm-12 select-info">
				<form id="tfjl-form">
					<div class="select-list">
						<ul>
							<li>
								快递单号：<input type="text" name="doorKddh"/>
							</li>
							<li>
								手机号：<input type="text" name="doorPhone"/>
							</li>
							
							<li>
								<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
							  
							</li>
						</ul>
					</div>
					<input type="hidden" id="boxGuid" th:value="*{boxguid}" name="boxGuid">
				</form>
			</div>
    
		<div class="btn-group hidden-xs" id="toolbar" role="group">
		
		</div>
			<div class="col-sm-12 select-info table-striped">
			    <table id="bootstrap-table" data-mobile-responsive="true"></table>
			</div>
		
		
    </div>
    <div th:include="include :: footer"></div>
    <script th:inline="javascript">
        var editFlag = [[${@permission.hasPermi('ebox:tfjl:edit')}]];
        var removeFlag = [[${@permission.hasPermi('ebox:tfjl:remove')}]];
        var prefix = ctx + "ebox/tfjl"

        $(function() {
        	var boxguid=$("#boxGuid").val();
            var options = {
            		id: "tfjlGuid",
                url: prefix + "/list?boxguid="+boxguid,
                createUrl: prefix + "/add",
                updateUrl: prefix + "/edit/{id}",
                removeUrl: prefix + "/remove",
                modalName: "快递柜投放记录",
                
                columns: [
				{
					field : 'doorGuid', 
					title : '柜门' 
				},
				{
					field : 'boxGuid', 
					title : '快递柜编号' 
				},
				{
					field : 'doorPhone', 
					title : '手机号', 
					sortable: true
				},
				{
					field : 'doorPwd', 
					title : '取货码' 
				},
				{
					field : 'doorKddh', 
					title : '快递单号', 
					sortable: true
				},
				{
					field : 'tfjlTime', 
					title : '投放时间', 
					sortable: true
				},
				{
					field : 'userloginname', 
					title : '快递员手机号' 
				}]
            };
            $.table.init(options);
        });
    </script>
</body>
</html>